package com.dong.dubbo.provider.api.impl;


import com.dong.dubbo.provider.api.Hello;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @author dengxiudong
 * @Date 2024/10/12 下午3:06
 */
@Slf4j
@DubboService
public class HelloImpl implements Hello
{
    @Override
    public String sayHello(String name)
    {
        log.info("sayHello called with name: {}", name);
        return "hello " + name;
    }
}
